Sha256: f3d67ff002cb277acee885f411ef099c7b8aa5e099d71816d33d755260d0e98d

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

#!/usr/bin/env ruby
$: << File.expand_path('lib')

module Cmd
  class One < Cl::Cmd
    register :one
  end

  class Two < Cl::Cmd
    register :two
  end
end

p Cl::Cmd[:one] # => Cmd::One
p Cl::Cmd[:two] # => Cmd::Two

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
travis-cl-1.2.4 examples/readme/registry
cl-1.2.4 examples/readme/registry
cl-1.2.3 examples/readme/registry