Sha256: f22fd234d642b40f71f848c4207e98bfd291b7e7746201e5bf6fa1c8d8e1b868

Contents?: true

Size: 192 Bytes

Versions: 25

Compression:

Stored size: 192 Bytes

Contents

module Bake

class Option
  attr_reader :param, :arg, :block
  def initialize(param, arg, &f)
    @param = param
    @arg = arg # true / false
    @block = f
    f
  end
end

end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
bake-toolkit-2.3.4 lib/common/options/option.rb
bake-toolkit-2.2.2 lib/common/options/option.rb
bake-toolkit-2.1.1 lib/common/options/option.rb
bake-toolkit-2.1.0 lib/common/options/option.rb
bake-toolkit-2.0.10 lib/common/options/option.rb