Class: BillingLogic::Strategies::ToStringArray
- Inherits:
-
Array
- Object
- Array
- BillingLogic::Strategies::ToStringArray
- Defined in:
- lib/billing_logic/strategies/independent_payment_strategy.rb
Overview
Because this is no longer the behavior in Ruby 2(.3?)
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/billing_logic/strategies/independent_payment_strategy.rb', line 6 def to_s "[#{map { |child| child.to_s }.join(', ')}]" end |