lib/ronin/mac_address.rb in ronin-1.0.0.rc1 vs lib/ronin/mac_address.rb in ronin-1.0.0.rc2
- old
+ new
@@ -16,13 +16,15 @@
# You should have received a copy of the GNU General Public License
# along with Ronin. If not, see <http://www.gnu.org/licenses/>.
#
require 'ronin/address'
-require 'ronin/ip_address_mac_address'
require 'ronin/model'
module Ronin
+ autoload :IPAddressMACAddress, 'ronin/ip_address_mac_address'
+ autoload :IPAddress, 'ronin/ip_address'
+
#
# Represents MAC addresses that can be stored in the {Database}.
#
class MACAddress < Address