Class: Rollable::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/models/concerns/rollable.rb

Instance Attribute Summary collapse

Instance Attribute Details

#resultObject

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result


50
51
52
# File 'app/models/concerns/rollable.rb', line 50

def result
  @result
end

#rollObject

Returns the value of attribute roll

Returns:

  • (Object)

    the current value of roll


50
51
52
# File 'app/models/concerns/rollable.rb', line 50

def roll
  @roll
end