Skip to content

Commit

Permalink
Splat fix for Ruby 1.8 in Rudy::Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Aug 1, 2009
1 parent a94ed90 commit 676864c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rudy/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def self.included(obj)
obj.send :include, Rudy::Metadata::InstanceMethods

# Add common storable fields.
[*COMMON_FIELDS, :position].each do |n|
[COMMON_FIELDS, :position].flatten.each do |n|
obj.field n
end

Expand Down

0 comments on commit 676864c

Please sign in to comment.