Class: Wizport::Section

Inherits:
Object
  • Object
show all
Defined in:
lib/wizport/engine/section.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Section

Returns a new instance of Section.



10
11
12
13
# File 'lib/wizport/engine/section.rb', line 10

def initialize(options)
  @group = options[:group]
  @title = options[:title]
end

Instance Attribute Details

#groupObject

Returns the value of attribute group.



8
9
10
# File 'lib/wizport/engine/section.rb', line 8

def group
  @group
end

#subObject

Returns the value of attribute sub.



8
9
10
# File 'lib/wizport/engine/section.rb', line 8

def sub
  @sub
end

#titleObject

Returns the value of attribute title.



8
9
10
# File 'lib/wizport/engine/section.rb', line 8

def title
  @title
end