Class: Monster::Author

Inherits:
Object
  • Object
show all
Defined in:
lib/monster/author.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Author



5
6
7
# File 'lib/monster/author.rb', line 5

def initialize(name)
  @name = name
end

Instance Method Details

#nameObject



9
10
11
# File 'lib/monster/author.rb', line 9

def name
  @name
end

#pageObject



13
14
15
# File 'lib/monster/author.rb', line 13

def page
  @page ||= name.pagefy
end