Class: Miko::PHPBB
Instance Attribute Summary
Attributes inherited from Base
#acct_home, #path, #script, #version
Instance Method Summary collapse
-
#initialize(path) ⇒ PHPBB
constructor
A new instance of PHPBB.
Methods inherited from Base
Constructor Details
#initialize(path) ⇒ PHPBB
Returns a new instance of PHPBB.
5 6 7 8 9 10 11 12 |
# File 'lib/scripts/phpbb.rb', line 5 def initialize( path ) super( path ) ## Load ver @version = File.read( path )[/.*version.*=.*/][/([\d.]+)/] @acct_home = path.gsub("styles/prosilver/template/template.cfg", "") @script = "phpBB" end |