Class: TreeHaver::BinaryNestedDispatch

Inherits:
Struct
  • Object
show all
Defined in:
lib/tree_haver/contracts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#familyObject

Returns the value of attribute family

Returns:

  • (Object)

    the current value of family



203
204
205
# File 'lib/tree_haver/contracts.rb', line 203

def family
  @family
end

#schema_pathObject

Returns the value of attribute schema_path

Returns:

  • (Object)

    the current value of schema_path



203
204
205
# File 'lib/tree_haver/contracts.rb', line 203

def schema_path
  @schema_path
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



203
204
205
# File 'lib/tree_haver/contracts.rb', line 203

def status
  @status
end

Instance Method Details

#to_hObject



204
205
206
207
208
209
210
# File 'lib/tree_haver/contracts.rb', line 204

def to_h
  {
    schema_path: schema_path,
    family: family,
    status: status
  }
end