Class: Gry::Law

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

Instance Attribute Summary collapse

Instance Attribute Details

#billObject

Returns the value of attribute bill

Returns:

  • (Object)

    the current value of bill



2
3
4
# File 'lib/gry/law.rb', line 2

def bill
  @bill
end

#letterObject

Returns the value of attribute letter

Returns:

  • (Object)

    the current value of letter



2
3
4
# File 'lib/gry/law.rb', line 2

def letter
  @letter
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/gry/law.rb', line 2

def name
  @name
end