Class: Surrealist::Builder::Schema

Inherits:
Struct
  • Object
show all
Defined in:
lib/surrealist/builder.rb

Overview

Struct to carry schema along

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



7
8
9
# File 'lib/surrealist/builder.rb', line 7

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



7
8
9
# File 'lib/surrealist/builder.rb', line 7

def value
  @value
end