Sha256: 9c5c8f48a278737e9fe70ca668aa245cf36b75869be72ccc49f44d287c53579c

Contents?: true

Size: 156 Bytes

Versions: 1

Compression:

Stored size: 156 Bytes

Contents

module OptionsParser
  extend ActiveSupport::Concern

  attr_reader :options

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json_parser-1.0.0 lib/concerns/options_parser.rb