Class: Chouette::Geometry::AccessPointPresenter
- Inherits:
-
Object
- Object
- Chouette::Geometry::AccessPointPresenter
- Includes:
- GeneralPresenter
- Defined in:
- app/presenters/chouette/geometry/access_point_presenter.rb
Instance Method Summary collapse
- #geometry ⇒ Object
-
#initialize(access_point) ⇒ AccessPointPresenter
constructor
A new instance of AccessPointPresenter.
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
#geometry ⇒ Object
8 9 10 |
# File 'app/presenters/chouette/geometry/access_point_presenter.rb', line 8 def geometry to_point_feature( @access_point) end |