Class: Rack::DevMark::Theme::Base
- Inherits:
-
Object
- Object
- Rack::DevMark::Theme::Base
- Defined in:
- lib/rack/dev-mark/theme/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#revision ⇒ Object
readonly
Returns the value of attribute revision.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
- #insert_into(html) ⇒ Object
- #setup(env, revision, timestamp) ⇒ Object
Constructor Details
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
5 6 7 |
# File 'lib/rack/dev-mark/theme/base.rb', line 5 def env @env end |
#revision ⇒ Object (readonly)
Returns the value of attribute revision.
5 6 7 |
# File 'lib/rack/dev-mark/theme/base.rb', line 5 def revision @revision end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
5 6 7 |
# File 'lib/rack/dev-mark/theme/base.rb', line 5 def @timestamp end |
Instance Method Details
#insert_into(html) ⇒ Object
17 18 19 |
# File 'lib/rack/dev-mark/theme/base.rb', line 17 def insert_into(html) end |
#setup(env, revision, timestamp) ⇒ Object
11 12 13 14 15 |
# File 'lib/rack/dev-mark/theme/base.rb', line 11 def setup(env, revision, ) @env = env @revision = revision @timestamp = end |