Sha256: 13df868247bfddc4a2c896bde0f33599b97a35b5fa3c5100759f3b3aaeeefb26

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

#
# content.rb - content implementation
#
# Copyright (C) 2004-2005 Satoru Takabayashi <satoru@namazu.org> 
#     All rights reserved.
#     This is free software with ABSOLUTELY NO WARRANTY.
#
# You can redistribute it and/or modify it under the terms of 
# the GNU General Public License version 2.
#

module Gonzui
  Content = Struct.new(:text, :mtime, :path)
  class Content
    def length
      self.text.length
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gonzui-1.2-x86-mswin32-60 lib/gonzui/content.rb
gonzui-1.2 lib/gonzui/content.rb