Sha256: 09ef2f1df33c3bdeaf79aab134dbafb987481de163751cbaaf43e158895f9294

Contents?: true

Size: 349 Bytes

Versions: 14

Compression:

Stored size: 349 Bytes

Contents

module I18n::Tasks
  module Command
    module DSL
      module CmdOpt
        def cmd_opts(*args)
          dsl(:cmd_opts).values_at(*args)
        end

        def cmd_opt(arg, opts = nil)
          if opts
            dsl(:cmd_opts)[arg] = opts
          else
            dsl(:cmd_opts)[arg]
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
i18n-tasks-0.7.13 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.12 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.11 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.10 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.9 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.8 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.7 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.6 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.5 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.4 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.3 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.2 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.1 lib/i18n/tasks/command/dsl/cmd_opt.rb
i18n-tasks-0.7.0 lib/i18n/tasks/command/dsl/cmd_opt.rb