Sha256: dcddb067bc6f6a1dc62cadb0645cbfd8d3ad83136d0d633d53b5b42a228d1f35

Contents?: true

Size: 876 Bytes

Versions: 24

Compression:

Stored size: 876 Bytes

Contents

module Edge
  class Message
    require "edge/version"

    available_template =
%Q{Currently these are the available templates:
  html - Static HTML template
  php - Standard PHP template}

    syntax_create = 
%Q{edge create <project_type>}

    help = 
%Q{--------------------------------------------------------
Welcome to Edge Framework v-#{ Edge::VERSION } (#{ Edge::CODENAME })
--------------------------------------------------------
Creating Template
  #{ syntax_create } }

    create_wrong_syntax =
%Q{WRONG SYNTAX
The correct syntax is:
#{ syntax_create } }

    MESSAGES = {
      :available_template => available_template,
      :syntax_create => syntax_create,
      :help => help,
      :create_wrong_syntax => create_wrong_syntax
    }

    def get_message(key)
      return MESSAGES[key.to_sym];
    end
      
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
edge_framework-2.0.0 lib/edge/message.rb
edge_framework-2.0.0.a lib/edge/message.rb
edge_framework-1.4.1 lib/edge/message.rb
edge_framework-1.4.0 lib/edge/message.rb
edge_framework-1.3.6 lib/edge/message.rb
edge_framework-1.3.5 lib/edge/message.rb
edge_framework-1.3.3 lib/edge/message.rb
edge_framework-1.3.2 lib/edge/message.rb
edge_framework-1.3.1 lib/edge/message.rb
edge_framework-1.3.0 lib/edge/message.rb
edge_framework-1.2.9 lib/edge/message.rb
edge_framework-1.2.7 lib/edge/message.rb
edge_framework-1.2.6 lib/edge/message.rb
edge_framework-1.2.5 lib/edge/message.rb
edge_framework-1.2.4 lib/edge/message.rb
edge_framework-1.2.3 lib/edge/message.rb
edge_framework-1.2.2 lib/edge/message.rb
edge_framework-1.2.1 lib/edge/message.rb
edge_framework-1.2.0 lib/edge/message.rb
edge_framework-1.1.0 lib/edge/message.rb