Class: Metlinkr
- Inherits:
-
Object
show all
- Defined in:
- lib/metlinkr.rb,
lib/metlinkr/step.rb,
lib/metlinkr/trip.rb,
lib/metlinkr/journey.rb,
lib/metlinkr/version.rb
Defined Under Namespace
Classes: Journey, Step, Trip
Constant Summary
collapse
- VERSION =
"0.0.5"
Class Method Summary
collapse
Class Method Details
.plan(from, to, options = nil) ⇒ Object
2
3
4
5
6
|
# File 'lib/metlinkr.rb', line 2
def self.plan(from, to, options = nil)
Journey.new(from, to, options).tap do |journey|
journey.plan
end
end
|