class Spear::Structure::Application::EmbededClass::Question
Resume
embeded class
Attributes
id[RW]
required[RW]
text[RW]
type[RW]
Public Class Methods
new(id, type, required, text)
click to toggle source
# File lib/spear/structure/application/embeded_class.rb, line 11 def initialize(id, type, required, text) @id = id @type = type @required = 'true'.eql?(required) @text = text end