Method: ActiveRoad::Path#initialize

Defined in:
app/models/active_road/path.rb

#initialize(attributes = {}) ⇒ Path

Returns a new instance of Path.



9
10
11
12
13
# File 'app/models/active_road/path.rb', line 9

def initialize(attributes = {})
  attributes.each do |k, v|
    send("#{k}=", v)
  end
end