afimb/ninoxe

View on GitHub
app/presenters/chouette/geometry/stop_area_presenter.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Chouette::Geometry::StopAreaPresenter
  include Chouette::Geometry::GeneralPresenter

  def initialize(stop_area)
    @stop_area = stop_area
  end

  # return line geometry based on CommercialStopPoint
  #
  def geometry
    to_point_feature( @stop_area)
  end
end