This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IOT/sensor2/temp | |
env,type=A temp=23.39 | |
env,type=B temp=40.00 | |
# IOT/sensor1/acc | |
env,type=A x=0.2 | |
env,type=B x=1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'objectdb' | |
db = ObjectDB.new | |
user = {:name => 'steve', :domain => 'go_fish.com', :customer_since => Time.now.to_s} | |
db.set('[email protected]', user) | |
db.get('[email protected]') | |
=> {"name"=>"steve", "domain"=>"go_fish.com", "customer_since"=>"Sun Jul 31 02:19:51 -0500 2011"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1939 David Heinemeier Hansson | |
1668 Jeremy Kemper | |
444 Josh Peek | |
436 Rick Olson | |
354 Jamis Buck | |
339 Nicholas Seckar | |
302 Michael Koziarski | |
268 Pratik Naik | |
156 Marcel Molina Jr. | |
148 Geoff Buesing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RouteFilter | |
class << self | |
def routes | |
ActionController::Routing::Routes.routes | |
end | |
def controllers | |
::Object.subclasses_of( ::ActionController::Base ) |