morris-rails - Morris.js for the Rails 3 Asset Pipeline oesmith.co.uk
morris-rails adds morris.js to the Rails 3 asset pipeline. Check it out!
class Window def initialize
super
signal_connect('destroy') { Gtk.main_quit }
end
end
class Window event destroy: :on_destroy
def on_destroy
Gtk.main_quit
end
end
Gtk objects in a more OOP style.Gosu::Window.
Gosu::Keyboard.handle_keys(@gosu_window) do
down?(escape) { close }
down?(left && !shift) { @player.walk(:left) }
down?(right && !shift) { @player.walk(:right) }
down?(left && shift) { @player.run(:left) }
down?(right && shift) { @player.run(:right) }
down?(!left && !right) { @player.stand }
end system gem has last seen a git commit, but the project is now back in development!
Magick::Images.
jquery.cookie.js, so I wrapped that up in a gem (jquery-cookie-rails) to make jquery-cookie available to the asset pipeline as well.my_hash = {}
my_hash["Cloud"]["Stats"]["Strength"] = 100
p my_hash # => {"Cloud"=>{"Stats"=>{"Strength"=>100}}}
inline_testing, a gem which does just that. Be sure to check out this article explaining what it is and how it works and you can see the Gem or the GitHub repo.my_hash["Cloud"]["Stats"]["Strength"] = 100
p my_hash # => {"Cloud"=>{"Stats"=>{"Strength"=>100}}}