class Maia::Topic

Public Class Methods

new(topic) click to toggle source
# File lib/maia/topic.rb, line 5
def initialize(topic)
  @topic = topic
end

Public Instance Methods

each(&block) click to toggle source
# File lib/maia/topic.rb, line 9
def each(&block)
  [self].each(&block)
end
to_h() click to toggle source
# File lib/maia/topic.rb, line 17
def to_h
  { topic: @topic }
end
to_s() click to toggle source
# File lib/maia/topic.rb, line 13
def to_s
  @topic
end