Sha256: 7210c33c33fb2dea2e19d8d91e663411bc7ebf651186e335929cb253aab7a0b9
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
class BaseCommand < Pleiades::Command::BaseCommand include CommandCommon def call success! show_event if disp? end private def disp? Rails.env.development? && Pleiades::Config.disp_console end def show_event mes = <<~MES \n \n |------------------------------------| | There is no corresponding command. | |------------------------------------| \n event:#{@event.type} MES p mes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pleiades-0.1.1 | lib/pleiades/generators/pleiades/setup/templates/base_command.rb |