![]() Rather than unnaturally re-reading __FILE__ and splitting, use a here-doc to clarify the intent. (Should also consider splitting it to a file.) |
||
---|---|---|
.. | ||
atom.rb | ||
base.rb | ||
image.rb | ||
json.rb | ||
plain.rb | ||
service.rb | ||
xml.rb |
![]() Rather than unnaturally re-reading __FILE__ and splitting, use a here-doc to clarify the intent. (Should also consider splitting it to a file.) |
||
---|---|---|
.. | ||
atom.rb | ||
base.rb | ||
image.rb | ||
json.rb | ||
plain.rb | ||
service.rb | ||
xml.rb |