Class: FlatHash::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/flat_hash/entry.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



2
3
4
# File 'lib/flat_hash/entry.rb', line 2

def content
  @content
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/flat_hash/entry.rb', line 2

def name
  @name
end