Sha256: f4e27b2aa226aad4cfe112172c1dfc4ae9c68424dea433ed3ca62f66c2ce1b40

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

module LogsTF

  class Log

    attr_accessor :file, :map_name, :title, :api_key

    def initialize(file, map_name = "", title = "", api_key = LogsTF::API_KEY)
      @file     = file
      @map_name = map_name
      @title    = title
      @api_key  = api_key
    end

    def filename
      File.basename(file)
    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logs_tf-0.0.5 lib/logs_tf/log.rb
logs_tf-0.0.4 lib/logs_tf/log.rb
logs_tf-0.0.3 lib/logs_tf/log.rb
logs_tf-0.0.2 lib/logs_tf/log.rb
logs_tf-0.0.1 lib/logs_tf/log.rb