class Aquarium::PostCondExample

Public Instance Methods

action(*args) click to toggle source
   # File examples/design_by_contract_example_spec.rb
39 def action *args
40   args.empty? ? args.dup : args + [:a]
41 end