1 2345678910...
|
}
@drawarea.signal_connect_after("size-allocate") {
update_image
}
self.signal_connect("button_press_event") { |widg, event|
Language: Ruby LOC: 223 RubyForge : GnomeGraphwidget (project search) : .../ggraphwidget/ggraphwidget/lib/graphwidget.rb
|
class Admin::SettingsController < Admin::BaseController
before_filter :find_and_sort_templates
clear_empty_templates_for :site, :tag_layout, :only => :update
def update
if site.update_attributes params[:site]
Language: Ruby LOC: 13 Techno-Weenie : Mephisto (project search) : .../trunk/app/controllers/admin/settings_controller.rb
|
return super(pref, val)
end
def update(prefs)
return super(prefs)
end
Language: Ruby LOC: 22 RubyForge : Borges (project search) : .../borges/lib/Borges/Preference/Preferences.rb
|
module ROXI::XUpdate
def self.update(node, &block)
instance = DSLInterpreter.new(node)
Language: Ruby LOC: 20 Google : roxi - Ruby Object XML Interface (project search) : .../trunk/lib/roxi/xupdate/xupdate.rb
|
require 'roxi'
require 'roxi/xpath'
require 'roxi/xupdate/xupdate'
module ROXI::XContainer
def update(&block)
Language: Ruby LOC: 8 Google : roxi - Ruby Object XML Interface (project search) : .../roxi/trunk/lib/roxi/xupdate.rb
|
# All the definitions of class or module in the Lucie distribution
# should include something like this:
# update(%q$LastChangedDate: 2005-09-15 19:48:28 -0700 (Thu, 15 Sep 2005) $)
# at the top of its {module,class} definition.
#
Language: Ruby LOC: 16 BerliOS (SVN) : Lucie (project search) : .../lucie/trunk/lib/deft/time-stamp.rb
|
# All the definitions of class or module in the Lucie distribution
# should include something like this:
# update(%q$LastChangedDate: 2005-06-01 23:47:57 -0700 (Wed, 01 Jun 2005) $)
# at the top of its {module,class} definition.
#
Language: Ruby LOC: 12 BerliOS (SVN) : Lucie (project search) : .../l/lucie/trunk/lib/time-stamp.rb
|
class PreferencesController < ApplicationController
def update
if @user.update_attributes(params[:user])
flash[:notice] = 'Your preferences were successfully updated.'
Language: Ruby LOC: 36 RubyForge (SVN) : ScrumR (project search) : .../scrumr/trunk/app/controllers/preferences_controller.rb
|
@woman = find_femalehealthitem
end
def update
@emrec = find_emrec
woman = find_femalehealthitem
Language: Ruby LOC: 140 Spider_rubyforge01 : CCRedit (project search) : .../ccredit.zip/ccredit/app/controllers/woman_controller.rb
|
@block = block
end
def update(source, property, oldVal, newVal)
@block.call(source, property, oldVal, newVal)
end
Language: Ruby LOC: 10 Spider_20090107_inc : AE Aurigae (project search) : .../aurigae-1.0/aurigaeModel/openGL/adapters/invokeAdapter.rb
|
source.add_observer(self)
end
def update(source, property, oldVal, newVal)
@nextAdapter.update(source, property, oldVal, newVal) if property == @property
end
Language: Ruby LOC: 12 Spider_20090107_inc : AE Aurigae (project search) : .../aurigae-1.0/aurigaeModel/openGL/adapters/aspectAdapter.rb
|
@family_member = FamilyMember.find session[:family_member].id
end
def update
flash[:error] = 'Updates not saved...'
flash[:message] = 'Modifications saved successfully...'
Language: Ruby LOC: 13 RubyForge (SVN) : Rails Family Calendar (project search) : .../familycalendar/trunk/app/controllers/preference_controller.rb
|
setAutoClose false
end
def update(event_id, p1, p2)
case event_id
when 0
Language: Ruby LOC: 19 RubyForge (SVN) : RDoc Browser (project search) : .../r/rdocbrowser/rdocbrowser/trunk/rdocparserprogressdialog.rb
|
setAutoClose false
end
def update(event_id, p1, p2)
case event_id
when 0
Language: Ruby LOC: 19 RubyForge (SVN) : RDoc Browser (project search) : .../r/rdocbrowser/rdocbrowser/rdocbrowser/rdocparserprogressdialog.rb
|
setAutoClose false
end
def update(event_id, p1, p2)
case event_id
when 0
Language: Ruby LOC: 19 RubyForge (SVN) : RDoc Browser (project search) : .../rdocbrowser/rdocbrowser/tags/0.0.1/rdocparserprogressdialog.rb
|
def index
end
def update
puts "File is #{params[:foo]}"
end
Language: Ruby LOC: 7 RubyForge (SVN) : IntegrationOnRails (project search) : .../test_app/app/controllers/demo/filepost_controller.rb
|
@system_settings = SystemSetting.find_all
end
def update
params[:system_settings].keys.each do |id|
setting = SystemSetting.find(id)
Language: Ruby LOC: 18 RubyForge (SVN) : Sahara (project search) : .../sahara/sahara/app/controllers/system_settings_controller.rb
|
end
class Groups < DBTable
def update(groupID,groupName,parentGroupID,realmBit)
groupID=groupID.to_str
groupName=groupName.to_str
Language: Ruby LOC: 31 RubyForge : NOC - (project search) : .../rbx/admin/resources/db/group.rb
|
include ActionView::Helpers::TextHelper
layout nil
before_filter :set_class, :only => ['index', 'update']
def index
@models = @klass.find(:all, :order => 'created_at DESC', :limit => 10)
Language: Ruby LOC: 22 Google : cnruby - Ruby on Rails Web Application Examples (project search) : .../use_railsmyadmin/app/controllers/my_admin/spy_controller.rb
|
include ActionView::Helpers::TextHelper
layout nil
before_filter :set_class, :only => ['index', 'update']
def index
@models = @klass.find(:all, :order => 'created_at DESC', :limit => 10)
Language: Ruby LOC: 22 Google : cnruby - Ruby on Rails Web Application Examples (project search) : .../my_admin/templates/controllers/my_admin/spy_controller.rb
|
@filter = filter
end
def update
@command.call(@name, @filter)
end
Language: Ruby (C) 2003 Billy Bryant LOC: 12 Spider_20081217_inc : WxMonitor (project search) : .../batches/inc_003/wxmonitor/wxmonitor/param.rb
|
@headers = {}
end
def update(sent_at = Time.now)
@subject = 'ForMailer#update'
@body = {}
Language: Ruby LOC: 19 Spider_rubyforge01 : TagFlow (project search) : .../tagflow-0.5.2.tar.gz/tagflow-0.5.2/app/models/for_mailer.rb
|
class RailsPwnage::App::Gems
include RailsPwnage::Base
def update(app_name, instance_name)
app_config = RailsPwnage::Config[app_name, instance_name]
# Phase 1: app-directed install
Language: Ruby LOC: 18 Spider_rubyforge01 : Rails Pwnage (project search) : .../data.tar.gz.---/lib/pwnage/app/gems.rb
|
class RailsPwnage::App::Gems
include RailsPwnage::Base
def update(app_name, instance_name)
app_config = RailsPwnage::Config[app_name, instance_name]
# Phase 1: app-directed install
Language: Ruby LOC: 18 Spider_rubyforge01 : Rails Pwnage (project search) : .../rails_pwnerer-0.5.18/lib/pwnage/app/gems.rb
|
@total_time = (@day.end_time.to_i - @day.start_time.to_i) - (@day.return_time.to_i - @day.leave_time.to_i)
end
def update_times
flash["notice"] = "start_time: #{@day.start_time.inspect}"
@total_time = (@day.end_time - @day.start_time) - (@day.return_time - @day.leave_time)
Language: Ruby LOC: 24 RubyForge : Simple Timecard Management Project (project search) : .../timecard/timecard/app/controllers/day_controller.rb
|
1 2345678910...
|