Module: Monolens::Lens

Includes:
FetchSupport
Included in:
Array::Compact, Array::Join, Array::Map, Coerce::Date, Coerce::DateTime, Coerce::Integer, Coerce::String, Core::Chain, Core::Dig, Core::Mapping, File, Object::Extend, Object::Keys, Object::Rename, Object::Select, Object::Transform, Object::Values, Skip::Null, Str::Downcase, Str::Split, Str::Strip, Str::Upcase
Defined in:
lib/monolens/lens.rb,
lib/monolens/lens/options.rb,
lib/monolens/lens/location.rb,
lib/monolens/lens/fetch_support.rb

Defined Under Namespace

Modules: FetchSupport Classes: Location, Options

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from FetchSupport

#fetch_on

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



12
13
14
# File 'lib/monolens/lens.rb', line 12

def options
  @options
end

Instance Method Details

#initialize(options = {}) ⇒ Object



9
10
11
# File 'lib/monolens/lens.rb', line 9

def initialize(options = {})
  @options = Options.new(options)
end