Class: Middleman::ClownCarExtension::ClownCarResource
- Inherits:
-
Sitemap::Resource
- Object
- Sitemap::Resource
- Middleman::ClownCarExtension::ClownCarResource
- Defined in:
- lib/middleman-clowncar/extension.rb
Instance Method Summary collapse
- #binary? ⇒ Boolean
- #ignored? ⇒ Boolean
-
#initialize(store, path, svg = nil) ⇒ ClownCarResource
constructor
A new instance of ClownCarResource.
- #metadata ⇒ Object
- #raw_data ⇒ Object
- #render(opts = {}, locs = {}, &block) ⇒ Object
Constructor Details
#initialize(store, path, svg = nil) ⇒ ClownCarResource
Returns a new instance of ClownCarResource.
163 164 165 166 167 |
# File 'lib/middleman-clowncar/extension.rb', line 163 def initialize(store, path, svg=nil) super(store, path, nil) @svg = svg end |
Instance Method Details
#binary? ⇒ Boolean
185 186 187 |
# File 'lib/middleman-clowncar/extension.rb', line 185 def binary? false end |
#ignored? ⇒ Boolean
173 174 175 |
# File 'lib/middleman-clowncar/extension.rb', line 173 def ignored? false end |
#metadata ⇒ Object
181 182 183 |
# File 'lib/middleman-clowncar/extension.rb', line 181 def @local_metadata end |
#raw_data ⇒ Object
177 178 179 |
# File 'lib/middleman-clowncar/extension.rb', line 177 def raw_data {} end |
#render(opts = {}, locs = {}, &block) ⇒ Object
169 170 171 |
# File 'lib/middleman-clowncar/extension.rb', line 169 def render(opts={}, locs={}, &block) @svg end |