Module: Gross

Defined in:
lib/gross/message.rb,
lib/gross.rb,
lib/gross/task.rb,
lib/gross/machine.rb,
lib/gross/tasks/if.rb,
lib/gross/tasks/set.rb,
lib/gross/tasks/case.rb,
lib/gross/tasks/print.rb,
lib/gross/tasks/rprint.rb,
lib/gross/tasks/blocker.rb,
lib/gross/tasks/conditional.rb

Overview

This file is part of gross. Copyright (C) 2015 Leo Gaspard

gross is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

gross is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with gross. If not, see <www.gnu.org/licenses/>.

Defined Under Namespace

Classes: Machine, Message, Task

Constant Summary collapse

VERSION =

Returns the version of gross

The version X.Y.Z will be bumped as follows:

X, the major version

Will be bumped after a non-backwards-compatible change

Y, the minor version

Will be bumped after backwards-compatible API changes

Z, the patch version

Will be bumped after each patch that does not change API

'0.0.1'
@@log =

Returns the logger to be used by gross machines.

Should provide at least #debug, #info, #warn, #error and #fatal.

Logger.new STDOUT

Class Method Summary collapse

Class Method Details

.logObject


42
# File 'lib/gross.rb', line 42

def self.log; @@log; end

.log=(log) ⇒ Object


43
# File 'lib/gross.rb', line 43

def self.log=(log); @@log = log; end