Class: Rack::DevMark::Theme::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/dev-mark/theme/base.rb

Direct Known Subclasses

GithubForkRibbon, Tag

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.

Raises:



5
6
7
8
# File 'lib/rack/dev-mark/theme/base.rb', line 5

def initialize(options = {})
  raise RuntimeError, 'Abstract class can not be instantiated' if self.class == Rack::DevMark::Theme::Base
  @options = options
end

Instance Method Details

#insert_into(html, env, params = {}) ⇒ Object



10
11
12
# File 'lib/rack/dev-mark/theme/base.rb', line 10

def insert_into(html, env, params = {})

end