Sha256: aa115b332ad787f58aefb5dfadb7b4661cede0c305274a6334eec8f40f30272c
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
module Mayl module Commands # Public: The Exit command exits the program. # # Example # # command = Exit.new(env) # command.execute # class Exit # Public: Initializes a new Exit command. # # env - the global environment def initialize(env) end # Public: Exits the program. # # Returns nothing. def execute exit(0) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mayl-0.2.1 | lib/mayl/commands/exit.rb |
mayl-0.2.0 | lib/mayl/commands/exit.rb |
mayl-0.1.0 | lib/mayl/commands/exit.rb |
mayl-0.0.1 | lib/mayl/commands/exit.rb |