Sha256: 333dd433cd524fbcc79908333b96d4e60f36ebd6cda082560d83103a5711a5e6

Contents?: true

Size: 305 Bytes

Versions: 14

Compression:

Stored size: 305 Bytes

Contents

module I18n::Tasks
  module Command
    module DSL
      module Cmd
        def cmd(name, args = nil)
          if args
            dsl(:cmds)[name] = args
          else
            dsl(:cmds)[name]
          end
        end

        def cmds
          dsl(:cmds)
        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.rb
i18n-tasks-0.7.12 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.11 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.10 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.9 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.8 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.7 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.6 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.5 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.4 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.3 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.2 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.1 lib/i18n/tasks/command/dsl/cmd.rb
i18n-tasks-0.7.0 lib/i18n/tasks/command/dsl/cmd.rb