Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
clean up rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Feb 21, 2009
1 parent 07581bf commit 5703113
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions lib/campaign_monitor.rb
Expand Up @@ -201,7 +201,7 @@ def using_soap
end

# Encapsulates
class SubscriberBounce
class SubscriberBounce #:nodoc:
attr_reader :email_address, :bounce_type, :list_id

def initialize(email_address, list_id, bounce_type)
Expand All @@ -212,7 +212,7 @@ def initialize(email_address, list_id, bounce_type)
end

# Encapsulates
class SubscriberOpen
class SubscriberOpen #:nodoc:
attr_reader :email_address, :list_id, :opens

def initialize(email_address, list_id, opens)
Expand All @@ -223,7 +223,7 @@ def initialize(email_address, list_id, opens)
end

# Encapsulates
class SubscriberClick
class SubscriberClick #:nodoc:
attr_reader :email_address, :list_id, :clicked_links

def initialize(email_address, list_id, clicked_links)
Expand All @@ -234,7 +234,7 @@ def initialize(email_address, list_id, clicked_links)
end

# Encapsulates
class SubscriberUnsubscribe
class SubscriberUnsubscribe #:nodoc:
attr_reader :email_address, :list_id

def initialize(email_address, list_id)
Expand Down
6 changes: 5 additions & 1 deletion support/class_enhancements.rb
@@ -1,4 +1,4 @@
class Class
module ClassEnhancements

def inherited_property(accessor, default = nil)
instance_eval <<-RUBY, __FILE__, __LINE__ + 1
Expand Down Expand Up @@ -28,4 +28,8 @@ def get_#{accessor}
# end
end

end

class Class #:nodoc:
include ClassEnhancements
end
2 changes: 1 addition & 1 deletion support/faster-xml-simple/test/regression_test.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/test_helper'

class RegressionTest < FasterXSTest
class RegressionTest < FasterXSTest #:nodoc: all
def test_content_nil_regressions
expected = {"asdf"=>{"jklsemicolon"=>{}}}
assert_equal expected, FasterXmlSimple.xml_in("<asdf><jklsemicolon /></asdf>")
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
@@ -1,4 +1,4 @@
class Test::Unit::TestCase
class Test::Unit::TestCase #:nodoc: all

def assert_not_empty(v)
assert !v.nil?, "expected to not be empty, but was nil"
Expand Down

0 comments on commit 5703113

Please sign in to comment.