Flashcard (Front and Back)

Front (Question)
Ruby: 2 ways to mix a module in a class
Back (Answer)
include and extend


Memory Work Out Sessions use brain research to accelerate and improve memorization. Automatically scheduled daily review drills ensure sure you don't forget.





or Find more than 100,000 other things to learn

Educators and Trainers:

Tour YoYoBrain's resources for learning and teaching
Previous Card See the whole card set Next Card


Comments:

Other flashcards from Advanced Ruby :
Ruby: Way to check if array has been...       Ruby: Syntax to find out if a variab...       What is the difference between Object...       Type of copy, deep or shallow, perfor...       Ruby: Quick and dirty way to make a d...       Ruby: When using new syntax to creat...       Ruby, how to convert the object id ba...       Ruby: use of the following code:$0 =...       Ruby method that will be called when ...       Ruby method to return a "blank" objec...       What is a Ruby Continuation object       Ruby method for generating a Continua...       Ruby method for creating an UnboundMe...       Once you have a Ruby UnboundMethod ob...       Ruby method for encapsulating the cur...       Ruby method for retrieving the value ...       Ruby methods for getting /setting ins...       Ruby syntax for getting an class obje...       Difference in Ruby between remove_met...       Ruby method to grab a list of modules...       Ruby method for setting what code wil...       Ruby method to set a block that will ...       Ruby method that will be called whene...       Ruby function that will be called whe...       Ruby: When a module is defined how d...       Ruby: 2 ways to mix a module in a class       What is the effect of include when mi...       Effect of using extend on a Class to ...       What is the effect of extend when use...       What is the scope of methods calls an...       Ruby: What is the effect of defining...       When appending code to Ruby class by ...       What is the effect of using instance_...       What is the Ruby idiom: class <<...       2 ways to use class << syntax i...       Ruby's full featured XML library       What is aspect oriented programming       Every method in Ruby accepts ____ as ...       Ruby: When you define a function at ...       What class are methods in Ruby       Ruby: How can you capture a referenc...       If you have a variable that is a refe...       What determines the scope of methods ...       What paradigm is used in Ruby for mak...       How can you directly send a message t...       What is a Proc in Ruby       What is difference in binding of meth...       What is the difference in where a met...       2 ways to create a Proc object in Ruby       2 main differences in Proc objects cr...       How does Ruby handle creation scope o...       Ruby syntax for turning a block of co...       Ruby syntax for converting a Proc obj...       Ruby behavior for Proc objects when, ...       3 restrictions to arguments passed in...       How can you create a code block that ...       Where do the arguments inside a code ...       How would you change how an object en...       Ruby: how do you interupt an iteratio...       Ruby class that makes it easy to iter...       Method to create methods on the fly i...       How can you create methods conditiona...       Ruby: What is the variable scope whe...       Ruby library that allows substitution...       Ruby syntax for interpolating variabl...       Ruby - when using ERB object how do y...       Ruby syntax to create control / meta ...       Ruby syntax for getting the decimal b...       Ruby method for to produce the ASCII ...       How to decide when to use string vers...       How do you compress and decompress wi...       Ruby: String method to remove any of...       Ruby string method to provide explici...       Ruby method to calculate a CRC (cycli...       Rails: How do you view documentation...       How can you turn off copying of text ...       How can you keep RDoc from documentin...       Ruby: How do you get RDoc to documen...       Ruby: Convert a string to a hex number       Convert a string to an octal based nu...       Ruby class that can represent a real ...       Ruby class that can acurately represe...       Ruby way of picking a random item out...       Ruby class for generating MIME mail a...       Ruby class for representing complex /...       If you need to override Fixnum what c...       What is Ruby mathn library       2 different time implementations in Ruby       Ruby Time method to grab numeric day ...       Ruby Time method to grab numerical da...       Ruby Time method to grab the time zon...       Ruby Time method to find if time is i...       What is the date range handled on Rub...       Ruby DateTime syntax to create a spec...       Ruby DateTime earliest date represented       Ruby internal representation of Time ...       Ruby Time method to grab current GMT ...       Ruby time method to return number of ...       Ruby DateTime method to create a cust...       Ruby Time method to create RFC822 dates       Ruby time method to create XML type date       Ruby Time method to create an ISO 8601       Ruby shortcut for adding / subtractin...       Ruby DateTime method to convert one t...       Ruby library to supply timeout functi...       Ruby method for creating new Time object       Ruby Time object syntax for display n...       Ruby Time method for generating a new...       Ruby Time syntax to display the week ...       Ruby Date method to return the week n...       Ruby Date method to detect if date is...       Ruby Time method for grabbing string ...       Ruby Time method for printing hours, ...       Ruby Time method for printing 12-hour...       Ruby class / method for parsing strin...       Ruby Time strftime syntax for generat...       Ruby Time method for converting to GM...       Ruby Array iterator that give you bot...       What does the following Ruby syntax d...       Ruby class that creates an Array that...       Ruby syntax to union 2 arrays together       Ruby syntax to perform intersection o...       Ruby Set methods to perform intersect...       Ruby Set method to divide a set into ...       Ruby syntax to create an array with v...       Ruby: What is the difference between...       Ruby library for working with multi-d...       Ruby Set methods for determining if o...       Ruby: reason to use symbols (:name) ...       What is wrong with this Ruby statemen...       Ruby syntax for correctly setting mis...       Ruby Hash iterator to delete keys bas...       Ruby Hash keys are normally based on ...       What is the output of Ruby Hash sort ...       Ruby class to use if you need to iter...       Ruby: 2 main ways to print Hash in a...       Ruby Hash method to invert key / values       Ruby alias for Hash#merge       Ruby: difference between File.file? ...       Ruby syntax to determine if directory...       Ruby methods to determine if block de...       Ruby method to determine if socket fi...       Ruby method to determine if named pip...       Ruby method to determine if a file is...       Ruby methods to determine if file is ...       Ruby methods to find out if user owns...       Ruby method to grab the permissions o...       Ruby methods to determine if actual p...       Ruby method to grab the file statisti...       Ruby method to grab enumerable list o...       Ruby Dir method to reset pointer to b...       Ruby method for reading file as an ar...       Ruby method to write string informati...       How do you turn off file write buffer...       Ruby method for grabbing file path to...       Ruby method for moving back to beginn...       Ruby constant that holds the location...       Ruby method to lock a file       Ruby: how do you change where standa...       Ruby method for moving backward / for...       Ruby method for reading a certain num...       Ruby method for checking if open file...       Ruby nested class within File that en...       Ruby low level methods for reading / ...       Ruby IO method to output a single cha...       Ruby global variable that has a conca...       Ruby IO method that pushes a single c...       Ruby method for setting / reading uma...       Ruby File method for determining if f...       Ruby file method for returning size o...       Ruby method for returning the type of...       Ruby File::Stat methods for determini...       Ruby library for turn off nonblocking IO       Ruby: How can you make an instance v...       Ruby class to completely impersonate ...       Ruby: How do you allow users to pass...       Ruby: what happens when you call supe...       Ruby standard error to throw when a m...       Ruby behavior when freezing a variabl...       Ruby: how can you prevent methods fro...       Ruby: how can module include initiali...       Ruby: how can you automatically inclu...       Ruby: methodology to split large modu...       Ruby: Method that lists classes that...       Ruby method to get parent class of Cl...       Ruby method to determine if a class d...       Ruby callback methods for a class whe...       Ruby syntax to undefine a method in a...       Ruby syntax for setting an instance v...       What is purpose of Kernal#binding       Ruby method to remove a method that h...       Ruby: What happens if you use remove...       Ruby method to prevent subclass from ...       Ruby syntax is required to use remove...       Ruby syntax to remove a constant from...       Ruby method to remove an instance var...       2 libraries for wrapping code before ...       Ruby AspectR library methods to add /...       Ruby class that is a SAX style XML pa...       Ruby method for parsing an XML docume...       Ruby REXML method to get documents ro...       Ruby REXML method for iterating over ...       Ruby REXML method to determine if ele...       Ruby REXML method to get the next / p...       Ruby REXML method to get the parent o...       Ruby REXML method to get the name of ...       Ruby REXML method that gives a fast /...       Ruby REXML - 3 methods for locating E...       Ruby REXML method to find the attribu...       Ruby REXML method to grab a particula...       Ruby gem that allows forgiving XML pa...       How does Ruby XMLSimple library parse...       Ruby gem that allows you to check if ...       Ruby REXML method to add a new elemen...       Ruby REXML method to append text node...       Ruby REXML method that gives an eleme...       Ruby REXML method to delete an attribute       Ruby REXML method to replace one node...       Ruby REXML syntax for compressing whi...       Ruby library for determining the char...       Ruby library for converting a documen...       Ruby class#method for extracting all ...       Ruby library for grabbing the content...       4 ways to resize images using Ruby Ma...       Ruby Magick::Image methods for openin...       Ruby Magick::Image class methods to g...       Ruby Magick::Image class method for r...       Ruby Magick::Image class method to im...       Ruby Magick::Image class method for g...       Ruby Magick::Image class method for a...       Ruby RMagick method for querying RMag...       Ruby class for converting data into g...       Ruby gem for creating sparkline images       Rails oriented gem for augmenting spa...       Ruby gem for symmetric-key crytograph...       Ruby standard library for parsing CSV...       Ruby gem for generating simple Excel ...       Ruby gem for parsing simple Excel spr...       Ruby gem for generating MIDI music files       Basic Ruby RMagick syntax for drawing...       Ruby's simplest database abstraction ...       2 most popular database abstraction l...       Ruby YAML methods for putting YAML da...       Ruby class for faster serialization o...       Ruby gem for storing objects in RAM a...       Ruby base library class for indexing ...       Ruby class for dealing with Berkeley ...       Main drawback to using Berkeley DB fo...       Ruby: what is the following syntax: ...       Difference between ActiveRecord and O...       Purpose of Ruby library PStore       2 Basic internet servers included wit...       Ruby library for more complex web pag...       Ruby net/http method to make a web pa...       Ruby library for connecting to HTTPS ...       Ruby syntax for connecting to HTTPS w...       Ruby - how to find IP address of doma...       Ruby standard library for interfacing...       Ruby standard library for interfacing...       Ruby class for interfacing with FTP s...       Ruby standard library for interfacing...       Ruby standard library for interfacing...       Ruby higher level interface that abst...       Ruby syntax for pinging a machine       How does Ruby's gserver work       Simple way to embed a server in ruby ...       Ruby: Basic mechanism for XML-RPC re...       Ruby library for making SOAP calls       Ruby class for creating SOAP server       Ruby class for parsing WSDL files and...       Ruby library for sharing data structu...       Ruby Rinda methods for writing / read...       Ruby Rinda method for reading and rem...       Ruby Rinda class for allowing Rinda m...       How can you pass in global boolean va...       Ruby command to rerun code block afte...       Ruby method to look at Ruby interpret...       Ruby unit testing framework       When creating a unit test in Ruby wha...       Ruby command line switch to print out...       In what order does Test::Unit run tes...       Ruby ZenTest syntax for generating te...       Ruby ZenTest syntax for generating st...       Ruby syntax for running code with bui...       How do you set up rake tasks for runn...       When creating Ruby rake testing task ...       How do you include RDoc tasks in rake...       How to include cleanup tasks in Ruby ...       Ruby cleanup includes clean and clobb...       Ruby syntax for doing gem building ta...       Ruby rake syntax for running processe...       Ruby: Basic way to spawn another dae...       Gem needed to do a Windows service in...       Ruby way of running 2 or more pieces ...       What happens in Ruby when main code r...       How can you get main code to wait on ...       Ruby thread method to stop thread run...       Ruby method to open a call on externa...       Ruby Thread method to return list of ...       Ruby Thread method to return the main...       Ruby Thread method to return identity...       Ruby Thread method to kill a thread o...       Ruby Thread method to exit the curren...       Ruby Thread method to pass control fr...       Ruby Thread instance method to stop c...       Ruby Thread methods that will determi...       Ruby Thread method to determine the s...       Ruby Thread method to determine / cha...       2 Ruby Thread methods to awaken a sto...       What is the group that all Ruby threa...       Ruby method for creating a new thread...       Ruby ThreadGroup method for adding an...       Ruby Thread syntax for telling progra...       Ruby Mutex syntax for locking / unloc...       Ruby Mutex method for testing if anot...       Ruby Mutex method for synchronizing o...       What is wxRuby library used for       Ruby: How can you tell if user is co...       Basic GUI toolkit that comes with mos...       How do get c code to run within Ruby ...       How can you use a C library in Ruby, ...       Gem that allows you to include inline...       How can you run Java code from within...       Ruby: How can you compile a string i...       Ruby regular expression method that e...       Ruby regexp syntax to nest character ...       Ruby function to return the number of...       Ruby function that detects if string ...       Ruby string iterator that iterates ov...       Ruby string methods that converts a s...       Define: internationalization term - m...       Ruby library for handling message cat...       Ruby functions to convert from symbol...       What is this Ruby syntax: list = fla...       Ruby range method that reports if end...       Ruby Enumerable iterator for iteratin...       Ruby Enumerator iterator that iterate...       Ruby library for using external itera...       Ruby: difference between exec and sy...       Ruby way of running external program ...       Ruby syntax for running another proce...       2 ways to wait for another process to...       2 ways to wait for a specific child p...       Ruby syntax for killing an external p...       Ruby syntax for setting up handlers f...       Most common Ruby command line parser ...       Ruby base library for doing common sh...       What basic object does Ruby shell cla...       Ruby library that runs through all en...       Ruby global variable that gives strin...       Ruby - how to tell profiler to start...       Ruby - how to get profiler to stop t...       Ruby - how to get profiler to print ...      





App_store_badge
What's new | About Us | Privacy Policy | Copyright Policy | Contact Us

Copyright 2007-2012 YoYoBrain.com

Managed By W3mg