Sha256: ac7f5b1ffa30c569dfb6c558c93fade6eeaa2fe5a5cd9d699b553005e924a4c2

Contents?: true

Size: 351 Bytes

Versions: 16

Compression:

Stored size: 351 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/models/params'
    require 'volt/server/template_parser'
    require 'volt'

    Pry.config.prompt_name = 'volt'

    # start a REPL session
    Pry.start
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
volt-0.4.0 lib/volt/console.rb
volt-0.3.9 lib/volt/console.rb
volt-0.3.8 lib/volt/console.rb
volt-0.3.7 lib/volt/console.rb
volt-0.3.6 lib/volt/console.rb
volt-0.3.5 lib/volt/console.rb
volt-0.3.4 lib/volt/console.rb
volt-0.3.3 lib/volt/console.rb
volt-0.3.2 lib/volt/console.rb
volt-0.3.1 lib/volt/console.rb
volt-0.3.0 lib/volt/console.rb
volt-0.2.9 lib/volt/console.rb
volt-0.2.7 lib/volt/console.rb
volt-0.2.5 lib/volt/console.rb
volt-0.2.4 lib/volt/console.rb
volt-0.2.3 lib/volt/console.rb