Method: RuneBlog::View#initialize
- Defined in:
- lib/view.rb
#initialize(name) ⇒ View
Returns a new instance of View.
10 11 12 13 14 15 16 17 |
# File 'lib/view.rb', line 10 def initialize(name) log!(enter: __method__, args: [name], level: 3) raise NoBlogAccessor if RuneBlog.blog.nil? @blog = RuneBlog.blog @name = name @publisher = RuneBlog::Publishing.new(name) @can_publish = true # FIXME end |