Sha256: cc8aaa9628a0a46d98885daf146cbf2d4f4c7b5da576b7c45c20921eba69d60c

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

module Fonte
  module Nodes
    class SteamIDNode < Treetop::Runtime::SyntaxNode
      def value
        nil
      end

      def real_player?
        !unknown? && !bot? && !pending? && !console?
      end

      def unknown?
        false
      end

      def bot?
        false
      end

      def pending?
        false
      end

      def console?
        false
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fonte-0.2.0 lib/fonte/nodes/steam_id_node.rb
fonte-0.1.0 lib/fonte/nodes/steam_id_node.rb
fonte-0.0.1 lib/fonte/nodes/steam_id_node.rb