Module: OpsWorks::CLI::Helpers::Typecasts
- Included in:
- Agent
- Defined in:
- lib/opsworks/cli/helpers/typecasts.rb
Instance Method Summary collapse
Instance Method Details
#typecast_string_argument(arg) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/opsworks/cli/helpers/typecasts.rb', line 7 def typecast_string_argument(arg) case arg when 'true' then true when 'false' then false else arg end end |