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

Returns:

  • (Object)

    the current value of key


21
22
23
# File 'lib/rschema/dsl.rb', line 21

def key
  @key
end