Sha256: 234985c052edbaa847422ac882cb4a2ed7982fd5d3b2c8e3fd8835f59e03ed73
Contents?: true
Size: 448 Bytes
Versions: 2
Compression:
Stored size: 448 Bytes
Contents
class DummyModelPresenter < BasePresenter presents :dummy delegate :id, to: :dummy def show_value(value) handle_none(value) do value end end def name dummy.name.upcase end def self.name "Class name" end def dummy_name "DUMMY" end def get_object dummy end def get_template @template end def self.get_object @@object end def self.get_template @@template end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
base_presenter-0.1.0 | spec/support/dummy_model_presenter.rb |
base_presenter-0.0.10 | spec/support/dummy_model_presenter.rb |