Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Changed usage of alias to alias_method

  • Loading branch information...
commit 8c7131bf4933d95cd6e5309168e5fe9be10ce6c4 1 parent 18c759b
Dan Kubb authored September 07, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  spec/fixtures/network_node.rb
4  spec/fixtures/network_node.rb
@@ -21,8 +21,8 @@ class NetworkNode
21 21
       # API
22 22
       #
23 23
 
24  
-      alias uuid  node_uuid
25  
-      alias uuid= node_uuid=
  24
+      alias_method :uuid,  :node_uuid
  25
+      alias_method :uuid=, :node_uuid=
26 26
 
27 27
       def runs_ipv6?
28 28
         self.ip_address.ipv6?

0 notes on commit 8c7131b

Please sign in to comment.
Something went wrong with that request. Please try again.