Module: Rabbit::Format::ValueContainerFormatter

Includes:
Formatter
Defined in:
lib/rabbit/formatter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Formatter

#html_formatter?, #tagged_text, #text_formatter?

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



176
177
178
# File 'lib/rabbit/formatter.rb', line 176

def value
  @value
end

Instance Method Details

#initialize(value) ⇒ Object



177
178
179
# File 'lib/rabbit/formatter.rb', line 177

def initialize(value)
  @value = value
end