Class: Typed::Schema::Declared

Inherits:
Struct
  • Object
show all
Defined in:
lib/typed/schema.rb

Direct Known Subclasses

Ambiguous, Explicit, Implicit, LazyValue, Nothing

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



4
5
6
# File 'lib/typed/schema.rb', line 4

def value
  @value
end