Sha256: 4ddb9980f1353e311c8cdba5b2e0d6fa25f4ac2bf9cc9cd0f3201ffaf8cf079d

Contents?: true

Size: 1.79 KB

Versions: 11

Compression:

Stored size: 1.79 KB

Contents

#
# Copyright (c) 2013, Kalopa Research.  All rights reserved.  This 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 2, or (at your option) any later version.
#
# It 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 this product; see the file COPYING.  If not, write to the Free
# Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
# THIS SOFTWARE IS PROVIDED BY KALOPA RESEARCH "AS IS" AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL KALOPA RESEARCH BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

##
# Routines for handling sailboat navigation and route planning.
#
module SGS
  class Timing < RedisBase
    attr_accessor :status, :boot, :briefing, :m_start, :m_abort, :m_complete

    def initialize
      @status = nil
      @boot = Time.at(0)
      @briefing = nil
      @m_start = nil
      @m_abort = nil
      @m_complete = nil
      super
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sgslib-0.4.0 lib/sgs/timing.rb
sgslib-0.3.1 lib/sgs/timing.rb
sgslib-0.3.0 lib/sgs/timing.rb
sgslib-0.2.8 lib/sgs/timing.rb
sgslib-0.2.7 lib/sgs/timing.rb
sgslib-0.2.6 lib/sgs/timing.rb
sgslib-0.2.5 lib/sgs/timing.rb
sgslib-0.2.4 lib/sgs/timing.rb
sgslib-0.2.2 lib/sgs/timing.rb
sgslib-0.2.1 lib/sgs/timing.rb
sgslib-0.1.0 lib/sgs/timing.rb