Class: Monolens::File
- Inherits:
-
Object
show all
- Includes:
- Lens
- Defined in:
- lib/monolens/file.rb
Instance Attribute Summary
Attributes included from Lens
#options
Instance Method Summary
collapse
Methods included from Lens
#fail!, included, #initialize
#fetch_on
Instance Method Details
#call(arg, world = {}) ⇒ Object
12
13
14
|
# File 'lib/monolens/file.rb', line 12
def call(arg, world = {})
option(:lenses).call(arg, world)
end
|
16
17
18
|
# File 'lib/monolens/file.rb', line 16
def examples
option(:examples, [])
end
|