Module: Hybook
- Extended by:
- AlbumHelper
- Defined in:
- lib/hybook/version.rb,
lib/hybook/std/album.rb,
lib/hybook/type/album.rb,
lib/hybook/type/picture.rb,
lib/hybook/type/section.rb
Defined Under Namespace
Modules: AlbumHelper
Classes: Album, Picture, Section
Constant Summary
collapse
- VERSION =
'0.2.1'
Class Method Summary
collapse
render_album, render_picture, render_pictures
Class Method Details
.banner ⇒ Object
7
8
9
|
# File 'lib/hybook/version.rb', line 7
def self.banner
"hybook/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
|
.root ⇒ Object
11
12
13
|
# File 'lib/hybook/version.rb', line 11
def self.root
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end
|
.templates_path ⇒ Object
15
16
17
|
# File 'lib/hybook/version.rb', line 15
def self.templates_path
"#{root}/templates"
end
|