Class: PagesCore::ImageEmbedder
- Inherits:
-
Object
- Object
- PagesCore::ImageEmbedder
- Includes:
- ActionView::Helpers::AssetTagHelper, ImagesHelper
- Defined in:
- app/formatters/pages_core/image_embedder.rb
Instance Method Summary collapse
- #embed ⇒ Object
-
#initialize(string) ⇒ ImageEmbedder
constructor
A new instance of ImageEmbedder.
Methods included from ImagesHelper
#dynamic_image_tag, #image_caption, #image_figure, #original_dynamic_image_tag, #picture, #picture_tag, #uncropped_dynamic_image_tag
Constructor Details
#initialize(string) ⇒ ImageEmbedder
Returns a new instance of ImageEmbedder.
9 10 11 |
# File 'app/formatters/pages_core/image_embedder.rb', line 9 def initialize(string) @string = string end |
Instance Method Details
#embed ⇒ Object
13 14 15 |
# File 'app/formatters/pages_core/image_embedder.rb', line 13 def parse_images(@string) end |