Module: TagFormatter
- Defined in:
- lib/tag_formatter/formatter.rb,
lib/tag_formatter.rb,
lib/tag_formatter/version.rb
Overview
Defined Under Namespace
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to TagFormatter::Formatter.
-
.new(input, params = {}) ⇒ TagFormatter::Formatter
Alias for TagFormatter::Formatter.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to TagFormatter::Formatter
13 14 15 16 |
# File 'lib/tag_formatter.rb', line 13 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(input, params = {}) ⇒ TagFormatter::Formatter
Alias for TagFormatter::Formatter.new
8 9 10 |
# File 'lib/tag_formatter.rb', line 8 def new(input, params={}) TagFormatter::Formatter.new(input, params) end |
.respond_to?(method, include_private = false) ⇒ Boolean
18 19 20 |
# File 'lib/tag_formatter.rb', line 18 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |