Sha256: bcd4fad799d62370546f84d2dd7083e4e3af1dd56317c6b558337747c858d4db
Contents?: true
Size: 701 Bytes
Versions: 25
Compression:
Stored size: 701 Bytes
Contents
class Console def self.start require 'pry' $LOAD_PATH << 'lib' ENV['SERVER'] = 'true' require 'volt/extra_core/extra_core' require 'volt/models' require 'volt/server/template_parser' require 'volt' require 'volt/page/page' require 'volt/server/rack/component_paths' require 'volt/server/socket_connection_handler_stub' SocketConnectionHandlerStub.dispatcher = Dispatcher.new app_path = File.expand_path(File.join(Dir.pwd, "app")) component_paths = ComponentPaths.new component_paths.setup_components_load_path Pry.config.prompt_name = 'volt' # start a REPL session # Pry.start Page.new.pry end end
Version data entries
25 entries across 25 versions & 1 rubygems