class Photish::Gallery::Page
Attributes
parent[R]
path[R]
Public Class Methods
new(parent, path)
click to toggle source
Calls superclass method
Photish::Plugin::Pluginable::new
# File lib/photish/gallery/page.rb, line 16 def initialize(parent, path) super @parent = parent @path = path end
Public Instance Methods
name()
click to toggle source
# File lib/photish/gallery/page.rb, line 22 def name @name ||= basename_without_extension end
Also aliased as: base_url_name
plugin_type()
click to toggle source
# File lib/photish/gallery/page.rb, line 26 def plugin_type Plugin::Type::Page end
Private Instance Methods
url_end()
click to toggle source
# File lib/photish/gallery/page.rb, line 36 def url_end 'index.html' end