Skip to content

Commit

Permalink
[new] cleaned up attr definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachpendleton committed Aug 24, 2011
1 parent 5918549 commit 3bb7f24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/xmlcellent.rb
@@ -1,4 +1,4 @@
$:.unshift(File.expand_path(File.dirname(__FILE))) unless $:.include? File.expand_path(File.dirname(__FILE__))
$:.unshift(File.expand_path(File.dirname(__FILE__))) unless $:.include? File.expand_path(File.dirname(__FILE__))

require "xmlcellent/format"
require "xmlcellent/parser"
3 changes: 1 addition & 2 deletions lib/xmlcellent/format.rb
@@ -1,7 +1,6 @@
module Xmlcellent
class Format
attr_reader :finder
attr_reader :lexicon
attr_reader :finder, :lexicon

def initialize(config)
@finder = config[:finder]
Expand Down
5 changes: 1 addition & 4 deletions test/test_xmlcellent.rb
@@ -1,10 +1,7 @@
require 'helper'

class Item
attr_accessor :name
attr_accessor :summary
attr_accessor :color
attr_accessor :supplier
attr_accessor :name, :summary, :color, :supplier
end

class TestXmlcellent < Test::Unit::TestCase
Expand Down

0 comments on commit 3bb7f24

Please sign in to comment.