Class: Backend::KujakuHelper::Kujaku

Inherits:
Object
  • Object
show all
Defined in:
app/helpers/backend/kujaku_helper.rb

Defined Under Namespace

Classes: ChoiceFeather, DateFeather, Feather, HelperFeather, MultiChoiceFeather, NeedleChoiceFeather, NumberFeather, TextFeather

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(template, uid) ⇒ Kujaku

Returns a new instance of Kujaku.


227
228
229
230
231
# File 'app/helpers/backend/kujaku_helper.rb', line 227

def initialize(template, uid)
  @template = template
  @uid = uid
  @feathers = []
end

Instance Attribute Details

#feathersObject (readonly)

Returns the value of attribute feathers


226
227
228
# File 'app/helpers/backend/kujaku_helper.rb', line 226

def feathers
  @feathers
end

#templateObject (readonly)

Returns the value of attribute template


226
227
228
# File 'app/helpers/backend/kujaku_helper.rb', line 226

def template
  @template
end

#uidObject (readonly)

Returns the value of attribute uid


226
227
228
# File 'app/helpers/backend/kujaku_helper.rb', line 226

def uid
  @uid
end

Instance Method Details

#inspectObject


233
234
235
# File 'app/helpers/backend/kujaku_helper.rb', line 233

def inspect
  "<#{self.class.name}##{@uid}>"
end