Sha256: 0c5585a4bc3e8fe15ac011f44d123328aee910dc094afee6ccc2fe34cd1faecb

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

module Edge
  class Message
    require "edge/version"

    available_template =
%Q{Currently these are the available templates:
    html - Static HTML
    wordpress - Plain WordPress theme with Timber
    ghost - Plain Ghost theme}

    syntax_create = 
%Q{> edge create <template>}

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

List of available commands:

1. Create Template
    #{ syntax_create }
    
    #{ available_template }

2. Rails Template Generator
    Run this command inside your Rails' directory:
    > rails g edge:install }

    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-2.1.1 lib/edge/message.rb
edge_framework-2.1.0 lib/edge/message.rb