Sha256: dcb46c4d98622bc79557da340b02040b0810ccf26e64ae4635888804667c19a1

Contents?: true

Size: 403 Bytes

Versions: 12

Compression:

Stored size: 403 Bytes

Contents

module Marvin
  module Parsers
    module Prefixes
      # Generic server name prefix
      class Server
        
        attr_accessor :name
        
        def initialize(name = nil)
          self.name = name || ""
        end
        
        def to_hash
          {:server => @name.freeze}
        end
        
        def to_s
          @name.to_s
        end
        
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
Sutto-marvin-0.1.20081120 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.2.0 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.2.1 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.2.2 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.2.3 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.2.4 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.3.0 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.3.2 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.3.3 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.3.4 lib/marvin/parsers/prefixes/server.rb
Sutto-marvin-0.4.0 lib/marvin/parsers/prefixes/server.rb
jeffrafter-marvin-0.1.20081120 lib/marvin/parsers/prefixes/server.rb