Sha256: e046e628c8845cd47567c0bd5ee0f83ab4177f8590b3db1a11918b2c5d7967c7

Contents?: true

Size: 1011 Bytes

Versions: 2

Compression:

Stored size: 1011 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> [project_name]
project_type
  #{ available_template }
[project_name]
  directory name, if not specified will use current directory}

    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

2 entries across 2 versions & 1 rubygems

Version Path
edge_framework-0.9.10 lib/edge/message.rb
edge_framework-0.9.9 lib/edge/message.rb