Sha256: 3da88bddeaa19bbd94004364e527eed8efcbedf2bd7e465be21025eade477006
Contents?: true
Size: 748 Bytes
Versions: 3
Compression:
Stored size: 748 Bytes
Contents
require 'shellwords' require 'lotus/generators/abstract' require 'lotus/generators/slice' module Lotus module Generators class App < Abstract def initialize(command) super options.merge!(app_name_options) @slice_generator = Slice.new(command) cli.class.source_root(source) end def start @slice_generator.start end private # @since 0.4.0 # @api private def app_name_options { application: app_name, application_base_url: application_base_url } end # @since 0.4.0 # @api private def application_base_url options[:application_base_url] || "/#{app_name}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lotusrb-0.5.0 | lib/lotus/generators/app.rb |
lotusrb-0.4.1 | lib/lotus/generators/app.rb |
lotusrb-0.4.0 | lib/lotus/generators/app.rb |