Class: TypographerHelper::Parsers::SimpleFormat
- Inherits:
-
Object
- Object
- TypographerHelper::Parsers::SimpleFormat
- Includes:
- ActionView::Helpers::TagHelper, ActionView::Helpers::TextHelper
- Defined in:
- lib/typographer/parsers/simple_format.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SimpleFormat
constructor
A new instance of SimpleFormat.
- #parse(string) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ SimpleFormat
Returns a new instance of SimpleFormat.
10 11 12 |
# File 'lib/typographer/parsers/simple_format.rb', line 10 def initialize( = {}) @options = end |
Instance Method Details
#parse(string) ⇒ Object
14 15 16 |
# File 'lib/typographer/parsers/simple_format.rb', line 14 def parse(string) self.simple_format string, @options end |