Module: Pekky::Console
- Defined in:
- lib/pekky/console.rb
Class Method Summary collapse
Class Method Details
.start ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/pekky/console.rb', line 3 def self.start require 'irb' Pekky.load Pekky.build puts %{ Welcome to the Pekky console Some useful methods: Pekky.pages An array of the page instances in the site Pekky.build Rebuild the site Pekky.build! Destructive rebuild -- removes all previously generated files } IRB.start(__FILE__) end |