Sha256: 072cc0f37996d6b680cf1c0467e581eb4f6eff258b51a071475ce5a5fa5a02b2

Contents?: true

Size: 166 Bytes

Versions: 2

Compression:

Stored size: 166 Bytes

Contents

module Sinclair::OptionsParser
  extend ActiveSupport::Concern

  attr_reader :options

  def options_object
    @options_object ||= OpenStruct.new options
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinclair-1.1.0 lib/sinclair/options_parser.rb
sinclair-1.0.0 lib/sinclair/options_parser.rb