class GatherContent::DSL::Text
Public Class Methods
new(tab)
click to toggle source
Calls superclass method
GatherContent::DSL::Base::new
# File lib/gather_content/dsl/text.rb, line 7 def initialize(tab) @text = GatherContent::Config::Element::Text.new super(tab, @text) end
Public Instance Methods
limit(limit)
click to toggle source
# File lib/gather_content/dsl/text.rb, line 20 def limit(limit) @text.limit = limit end
limit_type(limit_type)
click to toggle source
# File lib/gather_content/dsl/text.rb, line 16 def limit_type(limit_type) @text.limit_type = limit_type end
plain_text(plain_text)
click to toggle source
# File lib/gather_content/dsl/text.rb, line 24 def plain_text(plain_text) @text.plain_text = plain_text end
value(value)
click to toggle source
# File lib/gather_content/dsl/text.rb, line 12 def value(value) @text.value = value end