Class: Locomotive::Wagon::SiteFinder
- Inherits:
-
Struct
- Object
- Struct
- Locomotive::Wagon::SiteFinder
- Defined in:
- lib/locomotive/wagon/commands/serve_command.rb
Instance Attribute Summary collapse
-
#repository ⇒ Object
Returns the value of attribute repository.
-
#request ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
Instance Attribute Details
#repository ⇒ Object
Returns the value of attribute repository
3 4 5 |
# File 'lib/locomotive/wagon/commands/serve_command.rb', line 3 def repository @repository end |
#request ⇒ Object
Returns the value of attribute request
3 4 5 |
# File 'lib/locomotive/wagon/commands/serve_command.rb', line 3 def request @request end |
Instance Method Details
#find ⇒ Object
3 |
# File 'lib/locomotive/wagon/commands/serve_command.rb', line 3 def find; repository.first; end |