Skip to content

Commit

Permalink
Replace tabs by whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hanklords committed Aug 22, 2009
1 parent 08c9df1 commit 572a486
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/flickraw.rb
Expand Up @@ -53,7 +53,7 @@ def self.build(h, type)
elsif h.keys == ["_content"]
h["_content"]
else
Response.new(h, type)
Response.new(h, type)
end
end

Expand All @@ -63,11 +63,11 @@ def initialize(h, type)
methods = "class << self;"
h.each {|k,v|
@h[k] = case v
when Hash then Response.build(v, k)
when Array then v.collect {|e| Response.build(e, k)}
else v
end
methods << "def #{k}; @h['#{k}'] end;"
when Hash then Response.build(v, k)
when Array then v.collect {|e| Response.build(e, k)}
else v
end
methods << "def #{k}; @h['#{k}'] end;"
}
eval methods << "end"
end
Expand Down

0 comments on commit 572a486

Please sign in to comment.