Changeset 2495
- Timestamp:
- 10/08/05 18:57:14 (3 years ago)
- Files:
-
- trunk/railties/lib/rails_generator/commands.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/lib/rails_generator/commands.rb
r2494 r2495 218 218 # be evaluated before being compared to the destination. 219 219 def identical?(source, destination, &block) 220 return false if File.directory? destination 220 221 source = block_given? ? File.open(source) {|sf| yield(sf)} : IO.read(source) 221 222 destination = IO.read(destination)