Class: RSchema::DSL::OptionalWrapper

Inherits:
Struct
  • Object
show all
Defined in:
lib/rschema/dsl.rb

Overview

A wrapper class used only by RSchema::DSL to represent optional attributes.

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key


19
20
21
# File 'lib/rschema/dsl.rb', line 19

def key
  @key
end