Class: Commission::OptionsHouseAlt
- Inherits:
-
OptionsHouse
- Object
- Commission
- OptionsHouse
- Commission::OptionsHouseAlt
- Defined in:
- lib/commission.rb
Instance Attribute Summary
Attributes inherited from Commission
Instance Method Summary collapse
Methods inherited from OptionsHouse
#option_assignment, #stock_entry
Methods inherited from Commission
Methods included from ArgumentProcessor
Constructor Details
This class inherits a constructor from Commission
Instance Method Details
#option_entry ⇒ Object
39 40 41 42 43 |
# File 'lib/commission.rb', line 39 def option_entry return 0 if contracts.zero? contracts <= 5 ? 5_00 : contracts * 1_00 end |