Class: Beefcake::Message::Field

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fnObject

Returns the value of attribute fn

Returns:

  • (Object)

    the current value of fn



27
28
29
# File 'lib/beefcake.rb', line 27

def fn
  @fn
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



27
28
29
# File 'lib/beefcake.rb', line 27

def name
  @name
end

#optsObject

Returns the value of attribute opts

Returns:

  • (Object)

    the current value of opts



27
28
29
# File 'lib/beefcake.rb', line 27

def opts
  @opts
end

#ruleObject

Returns the value of attribute rule

Returns:

  • (Object)

    the current value of rule



27
28
29
# File 'lib/beefcake.rb', line 27

def rule
  @rule
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



27
28
29
# File 'lib/beefcake.rb', line 27

def type
  @type
end

Instance Method Details

#<=>(o) ⇒ Object



28
29
30
# File 'lib/beefcake.rb', line 28

def <=>(o)
  fn <=> o.fn
end