Class: Chouette::Geometry::AccessPointPresenter

Inherits:
Object
  • Object
show all
Includes:
GeneralPresenter
Defined in:
app/presenters/chouette/geometry/access_point_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(access_point) ⇒ AccessPointPresenter

Returns a new instance of AccessPointPresenter.



4
5
6
# File 'app/presenters/chouette/geometry/access_point_presenter.rb', line 4

def initialize(access_point)
  @access_point = access_point
end

Instance Method Details

#geometryObject



8
9
10
# File 'app/presenters/chouette/geometry/access_point_presenter.rb', line 8

def geometry
  to_point_feature( @access_point)
end